package com.fowo.api.model.product;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;

/** 质检标准 导入导出辅助模型 */
@Data
public class ProductQualityCheckExcelPo {

  @ExcelProperty(value = "所属产品")
  private String productIdName;

  @ExcelIgnore
  @ExcelProperty(value = "所属产品")
  private Long productId;

  @Size(max = 50, message = "质检项长度不能超过20")
  @ExcelProperty(value = "质检项")
  private String name;

  @Size(max = 500, message = "质检内容长度不能超过20")
  @ExcelProperty(value = "质检内容")
  private String content;
}
